Apache Rewrite to remove page name extensions
-
If I use Apache Rewrite to remove my file extensions from my pages will Google view those pages as new? Do I have to also 301 redirect from the "page-name.htm" to "page-name"?
I'd like to change my pages from html to php to make my life a little easier but I'm worried about losing link juice if I were to 301 on every page.
Thanks
-Brandon
-
Great!
Thanks, I may take you up on that!
-Brandon
-
Sounds good to me, but I prefer page names without extension.
You won't need 301 then, since you will keep old URLs and there won't be that short period of time when Google might possible see "duplicate" pages.
If you need help with Apache configuration let me know.
Kind regards
Bojan
-
Hi Bojan,
One thought I had was to create new php pages, keeping the same page name but using Apache to Rewrite the php to htm.
Any thoughts on this as an option?
-Brandon
-
Hi,
As stated here
http://www.seomoz.org/learn-seo/redirection
Using 301 redirect will preserve over 90% of your link juice. Give Google some time and it should pick up new page locations depending on your crawl rate.
As for seeing pages as new content, based on my short experience there is a period where Google will display new urls as new pages, but after a while he will realize that they have just moved. I'm not sure if there is a way to avoid this.
Kind regards
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
-
Snippet showing as domain name with apostrophe, instead of page title when searching for the domain name.
Hi, We have an issue with one of our websites, with the snippet dispaying differently in Google serps when searching for the domain or the website name rather than a search term. When searching for a search term, the page title shows as expected, but when searching for the site by the domain name either with or without the tld, it shows the snippet as the domain name with an apostrophe at the end. Domain is subli.co.uk Thanks in advance for any advice!
On-Page Optimization | | K3v1n0 -
Home page and category page target same keyword
Hi there, Several of our websites have a common problem - our main target keyword for the homepage is also the name of a product category we have within the website. There are seemingly two solutions to this problem, both of which not ideal: Do not target the keyword with the homepage. However, the homepage has the most authority and is our best shot at getting ranked for the main keyword. Reword and "de-optimise" the category page, so it doesn't target the keyword. This doesn't work well from UX point of view as the category needs to describe what it is and enable visitors to navigate to it. Anybody else gone through a similar conundrum? How did you end up going about it? Thanks Julian
On-Page Optimization | | tprg0 -
301 to Intermediate Page then Rel=Canonical from Intermediate to target page
Hi I'm working on an eCommerce site and don't have direct access to the CMS. I had requested developers to provide me a facilty to 301 via htaccess however this is working slight differently. I need guidance from experts whether it's okay or not: Old Page: example.com/old Target New Page: example.com/new After Implementing the redirect, It redirects to an intermediate page or in other words, The same target URL with a question mark added: example.com/new? (notice the question mark in the new URL) This intermediate page has a canonical tag for the exact target URL. So, if I 301 redirect example.com/old to example.com/new? (Intermediate page) and If the intermediate page example.com/new? has a canonical tag for the exact target URL (example.com/new), Will I be able to pass the link juice and authority of old page to the new page?
On-Page Optimization | | Ankkesh0 -
Optimizing web page
Hi I have implemented most of the suggestions, which are offered threw SEOMOZ on our web site www.zaposlitev.net. But rankings are not improving. Could anyone help please? Thanks Tomaz
On-Page Optimization | | tomaz770 -
What are all those meta name= and link rel= on the cnn home page source?
I usually use Description, title and keywords tag. I keep seeing these meta name = "classification" or "distribution" and also link rel =stylesheet" and "pingback" etc. Please tell me how important this is for SEO. It would be great to be pointed to the right page. Also, is there a wordpress pluggin to just fill in and have these be populated on the front end? Thank You
On-Page Optimization | | waspmobile0 -
Jquery in top of page vs text on bottom page
Is it the best way to use jquery sliders on the top of your page to still get all your text above the fold and score in search engines? for example: http://www.wolf-howl.com/wp-conte... is much better to score high ranks in search engines than http://www.wolf-howl.com/wp-conte... ?? Thanks!
On-Page Optimization | | HMK-NL0 -
Third party pages
Suppose you are using a third party tool such as an affiliate program. Typically, all the files are organized under one subdirectory. In addition, you may have little or no ability to modify any of the files in terms of SEO. Would you recommend hiding the entire subdirectory with a noindex? Best,
On-Page Optimization | | ChristopherGlaeser
Christopher0 -
Do product pages need unique content or does having duplcate content hurt on those pages?
We are adding product rapidly to our website but this requires allowing duplicate to exist on our product pages of furniture-online.com. From an SEO standpoint do we need to make this content unique for each product. Since we aren't link building to specific product pages and we don't anticipate product pages being found in a search result, are we ok leaving the duplicate content in place and spending our dollars elsewhere?
On-Page Optimization | | gallreddy0