homepage Welcome to WebmasterWorld Guest from 54.211.201.65
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Code, Content, and Presentation / Content Management
Forum Library, Charter, Moderators: ergophobe

Content Management Forum

    
Joomla and htaccess
member22




msg:4637295
 9:40 am on Jan 14, 2014 (gmt 0)

I am have website which is developed with joomla and I am considering creating a new one from scratch once joomla 3.5 comes out.

I had a major cms bug about a year ago when google indexed page that were not existing on my website ( pages that look like that : )

mywebsite.com/mysubfolder/123/module/index.php

I did give a 410 to those pages and there are almost all removed from the index.

My question is will I still need to leave my htaccess and 410 with the new site in order to make sure they don't reappear or can I remove the ht access and not worry about it.

 

lucy24




msg:4637440
 7:42 pm on Jan 14, 2014 (gmt 0)

Don't take chances. Once you've set up a 410 or a 301, leave it there forever. The day after you delete a 301/410, google will dig up its Forgotten URLs list and request the page.

At the same time, you should test the new system thoroughly to make sure any bogus URLs result in a 404. It doesn't matter what the (human) user sees, so long as a 404 response is returned. It is better to find this out ahead of time by experiment than to find out after-the-fact that search engines have been requesting and indexing nonexistent URLs. See if you can tweak your CMS so that any content returned with a 404 response includes a <noindex> tag. (This may not be mechanically possible.)

It isn't clear from your post whether the new site will be at a new hostname, or simply a major redesign.

As it happens, I moved recently. Along with the redirects, I did the following. All of them happen before the generic old-to-new redirect.

--all existing 410s continue to be served at the old hostname
--all existing 301 redirects remain in place at the old hostname, changing only the hostname of the target
--any changes made after the move are duplicated in htaccess, with matching redirects issued from both old and new hostnames. (I mean, of course, for URLs that existed at the old name and would otherwise be subject to generic redirect.)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Content Management
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved