Skip to main content

All Questions

0 votes
2 answers
2k views

How to 301 redirect a static url to another static url?

My website is HTML/CSS/JS website with no server (static website) sitting on MS Azure. I have recently changed 2 of the html files like this: www.mydomain.com/oldfile1.html www.mydomain.com/...
Sam's user avatar
  • 197
3 votes
4 answers
20k views

How to properly make 301 redirect

I have over 50 html pages that I'm going to move to different folders in the same domain. How to properly make 301 redirects for each one? Some people said to place the redirect in meta html tags. ...
Tarek Mostafa's user avatar
1 vote
1 answer
1k views

Python 2.7 urllib2 raising urllib2.HTTPError 301 when hitting redirect with xml content

I'm using urllib2 to request a particular S3 bucket at hxxp://s3.amazonaws.com/mybucket. Amazon sends back an HTTP code of 301 along with some XML data (the redirect being to hxxp://mybucket.s3....
Kay Balearica's user avatar
0 votes
2 answers
114 views

HTML to PHP redirect for website in my root folder?

I have recently moved my website to wordpress. I need to redirect my .html to .php. With my website being in the root folder, I do not want any redirects in the .htaccess to affect my sub folders with ...
kurt's user avatar
  • 1
0 votes
1 answer
356 views

Mass 301 Moved Permanently redirect

I am having trouble finding the best way to redirect 25+ pages to their new URLs. I have updated a weebly site to a PHP one so all the .html links are now .php and some files are renamed completely (...
Benjamin's user avatar
  • 657
0 votes
2 answers
303 views

www to non-www .htaccess not working

EDIT: The problem was that the domain was purchased at GoDaddy, but hosted at Endurance Internation Group (they own Hostgator and a few other small web hosts). Endurance doesn't have mod_rewrite ...
Warnakey's user avatar
0 votes
0 answers
54 views

My .php pages have, unwanted, 301 errors according to google webmaster tools

I recently used google webmaster tools to do a fetch as google. The result for all my pages that have a php extension cam back something like this: HTTP/1.1 301 Moved Permanently Date: Wed, 02 Apr ...
YSK .CO's user avatar
  • 164
0 votes
1 answer
43 views

Redirect Rules to allow html page to exist at directory url

I have a directory called /subject1/ which holds all subtopics inside of it such as /subject1/subtopic1.html , /subject1/subtopic1.html , /subject1/subtopic1.html and so on I wanted to have a /...
Foolless's user avatar
1 vote
0 answers
73 views

301 redirect, windows server

Basically, I have changed a number of pages on my site from example.htm to example.html. Now some of these pages have been listed in google for over 11 years and I believe that if i use a 301 redirect ...
user2125467's user avatar
9 votes
1 answer
8k views

Can I redirect a local static html page to an online resource?

I'm writing a small application extension and the only way to include some help is by a local, static html page (like c:\program files\help.htm). I can't use PHP for it. Is there any way to redirect ...
RubenGeert's user avatar
  • 2,942
8 votes
6 answers
47k views

301 Moved Permanently

I'm trying to get HTML by URL in Java. But 301 Moved Permanently is all that I've got. Another URLs work. What's wrong? This is my code: hh= new URL("http://hh.ru"); in = new BufferedReader( ...
Tony's user avatar
  • 3,775
0 votes
1 answer
78 views

Canoncial or 301 redirect for two URL showing one page

I have HTML page http://www.example.com/report.html and how can I make that also url http://www.example.com/publactions.html is showing same page without getting duplicate content? Should I use ...
levat's user avatar
  • 93
0 votes
1 answer
1k views

Redirect URL and show notification

My company has a subdomain that used to house a resource library that's no longer in service. There are hundreds of links that look like sub.domain.com/some-resource.pdf. We will be redirecting to ...
kburgie's user avatar
  • 765
1 vote
1 answer
2k views

How do I change from a 302 temporary to a 301 permanent redirect code?

I currently have a 302 temporary code on one of my websites. Although I could identify this code, i could not locate it. Where can I find it and how can I change it from 302 temporary to a 301 ...
Arthur Mamou-Mani's user avatar
0 votes
1 answer
80 views

Google not listing site, but no errors and content appears rich

We have inherited a website of around 30,000 pages (actual content), each with a unique title and rich content. Whatever we try, Google seems to not like listing the new site and visits have dropped ...
James Montgomery's user avatar

15 30 50 per page