Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Adsense / PPC / SEO Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 08-09-2011, 09:44 AM   #1
Active Warrior
War Room Member
 
terencemag's Avatar
 
Join Date: Apr 2010
Posts: 34
Thanks: 15
Thanked 10 Times in 10 Posts
Contact Info
Send a message via MSN to terencemag Send a message via Skype™ to terencemag
Default A SEO question about URL Normalization

Hi I am not a coder and I just noticed I may made a mistake on .htaccess.

When I visit "mydomain.com/faq", it will be directed to the homepage, "www.mydomain.com" instead of "www.mydomain.com/faq".

It happens to all the pages, not just "faq". Below is a part of my .htaccess which I guess causing the issue:

Code:
RewriteEngine On
RewriteBase /
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9} /index.php HTTP/
RewriteRule ^index.php$ http://www.mydomain.com/ [R=301,L] 
 
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
I want all my web pages to have "www." in front. Hopefully someone can help me to see which part of the code above gone wrong.
terencemag is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Adsense / PPC / SEO Discussion Forum

Tags
normalization, question, seo, url

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 12:57 PM.