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
-
Do search engines see copy/keywords when it appears only at the bottom of a page?
My client is looking to improve their SEO, and to date I've written meta data and made some initial recommendations. Thing is, on some of their pages, the body copy appears at the bottom of the page, past links and big, splashy images. My question is, will search engines even see that copy to crawl it for keywords? Thanks!
Web Design | | MarcieHill0 -
Why is google still crawling my old website pages?
Why is google still looking at my old indexed pages and not my new index. ? Why are they crawling my old website links when none of them are available? How do I overcome these problems?
Web Design | | optimalspaces0 -
Doing SEO for single page applications / Prerender.io
My dev and I are migrating an existing multi page application to a single page application with prerender.io. Does anybody have any experience with doing SEO for single page applications? Any other consequences we should take into account? Anything important to expect. Any insights would be 10/10 appreciated.
Web Design | | Edward_Sturm0 -
Why would a developer build all page content in php?
Picked up a new client. Site is built on Wordpress. Previous developer built nearly all page content in their custom theme's PHP files. In other words, the theme's "page.php" file contains virtually all the HTML for each of the site's pages. Each individual page's back-end page editor appears blank, except for some of the page text. No markup, no widgets, no custom fields. And no dedicated, page-specific php files either. Pages are differentiated within page.php using: elseif (is_page("27") Has anyone ever come across this approach before? Why might someone do this?
Web Design | | mphdavidson0 -
Is there a way to redirect URLs with a hash-bang (#!) format?
Hi Moz, I'm trying to redirect www.site.com/locations/#!city to www.site.com/locations/city. This seems difficult because anything after the hash character in the URL does not make it to the server thus cannot be parsed for rewriting. Is there an SEO friendly way to implement these redirects? Thanks for reading!
Web Design | | DA20130 -
On Page Local SEO
What do you believe is the best approach when it comes to Local SEO for businesses in 2013?
Web Design | | BlueRockDigital0 -
Two home pages?
One of my campaigns shows duplicate page content for domain xxx and xxx/index. There is only one index (home) page, so why does it report on two?
Web Design | | Beemer0 -
How to Add canonical tags on .ASPX pages?
What is the proper way (or is it possible) to add canonical tags on website pages that end in .aspx? If you add a canonical tag to the Master Page it will put that exact canonical tag on every page, which is bad. Is there a different version of the tag to put on individual pages? And one to put on the home page without the Master Page error?
Web Design | | Ryan-Bradley0