logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Dreamweaver General
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 09-24-2014, 09:37 PM   #1
MikeyRitz
 
Join Date: Nov 2012
Posts: 15
Default Underscore In Urls and duplicate content

Hi all, two issues I would like to resolve with my website.

1. When I initially built the site the homepage was named index.html. When people search they are directed to the main page of the website itsamodthing.com
Apparently, I have duplicate webpages being the index.html and the itsamodthing.com

How is best to resolve this issue please? It's got me puzzled as I can't delete the index.html file because that is the file that I update which leads to the www.itsamodthing.com website.

2. I didn't realise that using the underscore in url's was not good practice and that hyphens should be used instead. How do I change the urls within my website, but keep backlinks etc.

I appreciate your help. Many thanks.
MikeyRitz is offline   Reply With Quote
Old 09-25-2014, 01:58 AM   #2
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

use a 301 redirect in .htaccess When Google sees a 301, it basically takes the SEO juice it had assigned to the first one, and moves it over to the second one.
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 09-25-2014, 06:36 PM   #3
MikeyRitz
 
Join Date: Nov 2012
Posts: 15
Default

Many thanks edbr for your time.

I set up an htaccess file with the following code:

RewriteEngine on

Redirect 301 /index.html http://www.itsamodthing.com

Once uploaded the website disappeared so I went back in and deleted the .htaccess file.

Any idea's? Thanks again.
MikeyRitz is offline   Reply With Quote
Old 09-29-2014, 03:11 AM   #4
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

disappeared or you got a 500 warning?
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 09-29-2014, 04:18 AM   #5
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

the web will always open a page so its just to set the default page. im sure you will not be penealised for duplicate content

http://searchengineland.com/googles-...-spammy-167459
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas

Last edited by edbr; 09-29-2014 at 05:40 AM..
edbr is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:41 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com