haggisv Posted December 30, 2006 Share Posted December 30, 2006 I run my OScommerce store here: http://oneofakindtrading.com.au/Shop For SEO purposes I have tried to be consistant with my URLs, so I have tried to make ALL my URLs WITHOUT the www prefix. I have changed both config.php files and remove all the ww references. My .htaccess files do NOT do any rewrites of any kind. Now it's all working EXCEPT the homepage of the shop with the ULR above. It always adds the www prefix, whereas all my subpages have URLs without the www. Can anyone suggest WHERE this rewrite occurs and how I can get rid of it? Thanks a lot! Link to comment Share on other sites More sharing options...
haggisv Posted December 31, 2006 Author Share Posted December 31, 2006 My installation is virtually the standard one, with only a few mods but very simple ones, not related to the URLs. I DO have the SE friendly URLs swithced ON in admin. Can someone please suggest whereI can start looking for the problem? Thanks a lot! Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted December 31, 2006 Share Posted December 31, 2006 I'd check with the host ... :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
haggisv Posted December 31, 2006 Author Share Posted December 31, 2006 Thanks for the reply. Since I never requested any redirects from the host, and this is the only page in my domain that does this, I do not expect it to be something they did. Since they are not usually all that helpful I was hoping to resolve this myself, but i guess it does not hurt to ask. Not that the OScommerce shop is in a subdirectly called 'Shop', and neither the root or any of the other pages in the shop exibit this behavior. Hope someone can help Cheers! Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted December 31, 2006 Share Posted December 31, 2006 sorry, overlooked root does not do it. check includes/local folder, any extra config files there? :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
haggisv Posted January 3, 2007 Author Share Posted January 3, 2007 sorry, overlooked root does not do it. check includes/local folder, any extra config files there? Thanks for replying! I checked that folder, there is only one file there called .cvsignore, which has a single statement in it: configure.php Is there any way of tracking when/where the change in url occurs? Thanks again for your time! Link to comment Share on other sites More sharing options...
user99999999 Posted January 3, 2007 Share Posted January 3, 2007 Apache sends a 301 redirect to add a trailing slash. http://httpd.apache.org/docs/1.3/misc/FAQ-...#set-servername You can avoid it like this. http://oneofakindtrading.com.au/Shop/ or better yet always include a page. http://oneofakindtrading.com.au/Shop/index.php And you can ask your host to change the redirect s www.oneofakindtrading.com.au 301 rediects to oneofakindtrading.com.au Link to comment Share on other sites More sharing options...
haggisv Posted January 4, 2007 Author Share Posted January 4, 2007 Yes, that's it! Thank you for the information! For SEO purposes I'm trying to be consistant and only have links with exactly the same URL, ie www.oneofakindtrading.com.au/Shop www.oneofakindtrading.com.au/Shop/ oneofakindtrading.com.au/Shop oneofakindtrading.com.au/Shop/ Should all be the same. I had chosen the 3nd one. I don't know if Search engines distinguish between the 3rd and 4th ones. I would prefer not to add the index.php to the url since this would create another url to the same page, and all the page rank of the page would be ahred among the different version. I think it will be easiest to just change all my references to version 4. Any thoughtS! Thanks a lot! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.