Page Redirection solution
-
Page Redirection solution needs, there are 2 sites in the same folder and one page of old site is bxxxxxseo.com/products.php new site bxxxxxseo.com/product_list.php .there are many old page indexed i wanna redirect all old pages to relevant pages of new site using SEO friendly way .Any help really appropriate.
Thank you
-
Yes with WP is is super easy and effective but my site is custom made site.
-
Developer has created this file.Where can i edit this .
RewriteEngine on
-FrontPage-
IndexIgnore .htaccess /.?? *~ *# /HEADER /README /_vti
<limit get="" post="">order deny,allow
deny from all
allow from all</limit>
<limit put="" delete="">order deny,allow
deny from all</limit>
AuthName xxxxlinexxx.com
AuthUserFile /home/xxxxline/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/xxxxline/public_html/_vti_pvt/service.grp
Redirect 301 /xxxxlinexxx.com/products.php http://xxxxlinexxx.com/index.php -
**Be carefull if amending the htaccess file. **
Make a back-up of it before you change anything. Test one redirect to make sure its working before you go ahead and add multiple redirects to the file.
-
**Be carefull if amending the htaccess file. **
Make a back-up of it before you change anything. Test one redirect to make sure its working before you go ahead and add multiple redirects to the file.
-
Moosa is right, again, if using wordpress install the yoast SEOplugin: http://yoast.com/wordpress/seo/
As well as enabling you to handle your on page seo, you can also handle your redirects and robots.txt files through the plugin.
-
Nakul, is right but also if you are using the wordpress then instead of going in to .htaccess use the redirection plugin!
-
Best solutions for this is 301 redirect. If you don't need those page any further, you can simply delete those files from server and can redirect all the old/deleted pages to the new relevant pages with the help of .HTACCESS file or server side redirection (if you're not comfortable with the .htaccess coding)
You just need to enter the following code in .htaccess file:
Redirect 301 /old/oldpage.htm http://www.domain.com/newpage.htm(new page)
Once done, make sure to update your sitemaps (HTML, XML and TXT)
Hope this helps!
-
Sure. Here you go. I used your example of redirecting old page to new page.
Redirect 301 /products.php http://www.bxxxxxseo.com/product_list.php
-
Thank you Where can i find 301 redirect .htaccess codes relevant to my problem ? there are many in that web but these are not clear for me .
-
Delete the old pages and setup 301 redirects from the old pages to the new pages.
Make sure all your internal links are going to the new site pages only. As long as you can set the 301's, you are all set.
I hope this helps
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Content thin for new home page been told to change it? any suggestions?
Hi guys, I'm newbie.... I have been told that my home page is content thin, and if I want to rank really well in the search i need to have more relevant content on my homepage - the site is only new 2months and I can see we are now at 39th place in the search, if i make changes to the home page design and add more content will this effect this current ranking?
Web Design | | edward-may0 -
Is it necessary to Remove 301 redirects from Wordpress after removing the 404 url from Google Webmaster?
There were many 404 urls in my site found by Google Webmaster. I've redirected these urls to the relevant urls with 301 redirect in wordpress. After that I removed these 404 urls from Google Index through Webmaster. "Should I cleanup these 301 redirects from Wordpress or not? ". Help Needed.
Web Design | | SangeetaC0 -
How to rewrite/redirect a folder name with .htaccess
I have a folder in my site that I want to rename. I don’t want to just rewrite the URL and keep my old folder name, I want to change the folder name and then do whatever is necessary with .hataccess to not lose search engine rankings. The folder name I want to change has a space in it and also is misspelled (whoops x2) Example. Mysite.com/old foldr/page.html Mysite.com/newfolder/page.html How would I go about doing this with .htaccess? Do I just switch the folder name on my server and then set up a redirect, or do I do a rewrite? Sorry now familiar with the terms or .htacces. Thanks all
Web Design | | SheffieldMarketing0 -
How do we get search engine bots to the item detail pages?
The problem we have is that we have lots of inventory pages. These inventory pages have a bunch of links at the top linking to different styles of the item, up to 56 links in some cases. Then each item listed has a link to the item's detail page and a link to the item's shop owner's page. So if a page has 50 items shown, there are really 100 links just for the inventory. This is not taking into account the header links, footer links, sidebar links to other sections on the site. We have all these links to help consumers move through the site. The problem is that every item detail page on the site is not getting indexed and actually I think it's more like over 50% of the item detail pages are not indexed because the search engines are too busy following all these other links. Should we nofollow, index the links to the different styles of the item, the shop owner page? Or what should we do to get the search engine bots to index our item detail pages?
Web Design | | CFSSEO0 -
Using a query string for linked, static landing pages - is this good practice?
My company has a page with links for each of our dozen office locations as well as a clickable map. These offices are also linked in the footer of every page along with their phone number. When one of these links is clicked, the visitor is directed to a static page with a picture of the office, contact information, a short description, and some other information. The URL for these pages is displayed as something like http:/example.com/offices.htm?office_id=123456, with seemingly random ID numbers at the end depending on the office that remain static. I know first off that this is probably bad SEO practice, as the URL should be something like htttp://example.com/offices/springfield/ My question is, why is there a question mark in the page URL? I understand that it represents a query string, but I'm not sure why it's there to begin with. A search query should not required if they are just static landing pages, correct?. Is there any reason at all why they would be queries? Is this an issue that needs to be addressed or does it have little to no impact on SEO?
Web Design | | BD690 -
Dynamic pages -windows server
Hi all, Hope I get an answer on clients site which I believe is hosted on a windows shared server. The output of the site is something like this: http://www.domainname.com/catering-sub.asp?maincate_id=6&maincate_name=Barware I am looking to get a URL friendly output for the site - as far as my knowledge I believe Htaccess doesn't work on this type of hosting? thoughts? Thanks in advance
Web Design | | OnlineAssetPartners0 -
Type of redirect?
I'm almost ready to launch a website redesign. We are going to move what's currently being hosted on olddomain.com to newdomain.com. We want to do this early to avoid error and to have olddomain.com redirect to newdomain.com until the new content is ready. Once the redesign is complete, we'll push the new content to olddomain.com (as it holds a higher SEO value) and take away the redirect. A. Does this sound like a good idea? B. What kind of redirect should I use? 302? 307? Thanks, and sorry for the confusion 🙂
Web Design | | kylesuss0 -
Dynamic pages and code within content
Hi all, I'm considering creating a dynamic table on my site that highlights rows / columns and cells depending on buttons that users can click. Each cell in the table links to a separate page that is created dynamically pulling information from a database. Now I'm aware of the google guidelines: "If you decide to use dynamic pages (i.e., the URL contains a "?" character), be aware that not every search engine spider crawls dynamic pages as well as static pages. It helps to keep the parameters short and the number of them few." So we wondered whether we could put the dynamic pages in our sitemap so that google could index them - the pages can be seen with javascript off which is how the pages are manipulated to make them dynamic. Could anyone give us a overview of the dangers here? I also wondered if you still need to separate content from code on a page? My developer still seems very keen to use inline CSS and javascript! Thanks a bundle.
Web Design | | tgraham0