Changing .html to .asp in URLs
-
Hi Mozzers,
I have a question. The webmaster of a client of mine needs to make changes to some files which will effect the URL's.
Essentially everything is staying the same but the end of the URL will change from .html to .asp.
This is because the site will be dynamically loading content (perhaps from a database) (i.e. latest news to come from their blog etc..) In order to do this we would need to change the filenames of the whole website. (i.e. personnel.html would become personel.asp).
Changing URLs can harm indexation but a small change to the end - would Google drop these pages? A 301 redirect is not possible from old URL to new.
What impact would this have on Rankings?
Thanks
Gareth
-
Hi Kevin, O French and Dr Pete,
Thanks for your input - I'm being told a 301 isn't possible but looking at your comments we can do it and I'll push for it.
Thanks so much for all of your help
Bush
-
Yeah, I'm with Kevin - there's a way to do a 301-redirect, and you need to find it. Otherwise, you'll lose the value of most of the current links to your site, and you'll create a ton of 404s from visitors and links with old URLs trying to find the old content. That's an SEO nightmare waiting to happen, and it's bad for usability, too.
-
Similar to Kevin's response, I have a section in my web.config performing a similar action, should be something like this I believe -
<match url="^([a-z]*).htm"></match>
<action type="Redirect" url="{R:1}.asp"></action>
This should just redirect any instance of .htm to .asp.
-
Why isn't a 301 possible? If the host doesn't have ISAPI_Rewrite, then a custom 404 that contains a 301 will work.
There would be a big impact on rankings otherwise.
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
-
URL Indexing with Keyword
Hi, My webpage url is indexed in Google but don't show when searching the Main Keyword. How can i index it with keyword. It should show on any SERP when the keyword is searched. Any suggestions.
Technical SEO | | green.h1 -
URL Change, Old URLs Still In Index
Recently changed URLs on a website to remove dynamic parameters. We 301'd the old dynamic links (canonical version) to the cleaner parameter-free URLs. We then updated the canonical tags to reflect these changes. All pages dropped at least a few ranking positions and now Moz shows both the new page ranking slightly lower in results pages and the old page still in the index. I feel like I'm splitting value between the two page versions until the old one disappears... is there a way to consolidate this quickly?
Technical SEO | | ShawnW0 -
Changing URLs
As of right now we are using yahoo small business, when creating a product you have to declare an id, when we created the site we were not aware that you will not be able to change the id but also the ID is being used as the URL. we have a couple thousand products in which we will need to update the URLs. What would the best way to be to fix this without losing much juice from our current pages. Also I was thinking that if we did them all in a couple weeks it would hurt us a lot, and the best course of action would be to do a slow roll out of the URL changes. Any help is appreciated. Thank you!
Technical SEO | | TITOJAX0 -
SEO changing from Wix Flash too Wix HTML
I have a Wix flash website www.theonlinefloorwarehouse.com.au which is number one in Google search for most of our main products Due to having a large number of changes and the draw backs with flash I pads etc I have rebuilt it in Wix HTML temporarily under this URL www.laminateflooringperth.net.au/ Now I find out Wix uses Ajax technology which most people say is useless for SEO after months of work I do not know weather to switch to the HTML site or not perhaps I should use both sites ? Has any one switched to HTML from Flash, was there a drop in or higher rankings ? Any advice would be greatly appreciated Regards John
Technical SEO | | johnnewson0 -
Second URL
Hi We have a .com and a .co.uk Main website is .co.uk, we also have a landing page for the .com If we redirect the .com to the .co.uk, will it create duplicate content ... May seem like a silly question, but want to be sure that that the visitors cant access our website at both urls, as that would be duplicate content Thanks in advance John
Technical SEO | | Johnny4B0 -
Advice on strange URL problem
I'm considering doing some pro bono work for a local non-profit and upon initial review they have a number of serious issues but there is one in particular I'd like to check my thinking on. The developer who set up the site some years ago implemented a javascript redirect on their root domain so that it redirects to: http://domain.com/wordpress This is wrong for all kinds of reasons and I want to recommend eliminating this redirect and getting rid of the 'wordpress' part of the path altogether. However, the site is quite established with good PR and they would take a hit by changing the path. I'd do 301 redirects to the new URLs that would not have 'wordpress' in the path in addition to other remediation. My question - is my thinking here good? It's worth it, right? The other option is just get rid of the weird redirect and keep 'wordpress' in the path but this seems unacceptable to me. Any opinions?
Technical SEO | | friendlymachine0 -
Can I redirect a URL that has a # in it? How?
Hi there - My web developer is saying that I can't do a URL redirect with a "#" in it. Currently, the URL is actually an anchored link within a page (which the URL indicates with a #). I want to change the content to a new URL, but our website links internally to the old URL, so we would need to do a URL redirect (assume 301). Can you tell me if this is possible and how? Thanks!
Technical SEO | | sfecommerce0 -
Blank Canonical URL
So my devs have the canonical URL loaded up on pages automatically, and in most cases this gets done correctly. However we ran across a bug that left some of these blank like so: Does anyone know what effect that would have? I am trying to provide a priority for this so I can say "FIX IT NOW" or "Fix it after the other 'FIX IT NOW' type of items". Let me know if you have any ideas. I just want to be sure I am not telling google that all of these pages are like the home page. Thanks!
Technical SEO | | SL_SEM0