Options

Automatic page forwarding

CarSalesmanCarSalesman Registered Users Posts: 29 Big grins
edited February 20, 2015 in SmugMug Customization
Moving my old domain name to my smugmug site, but some of my previous pages are going elsewhere. I need to create pages on my smugmug site that when visited will automatically forward when the page is loaded. I need to insert html something like this:

<html>
<head>
<title>This page has moved</title>
<META http-equiv="refresh" content="5;URL=http://www.newdomain.com/newpage"&gt;
</head>
<center>This page has moved. You will be redirected to the new location automatically in 5 seconds. Please bookmark the correct page at <a href="http://www.newdomain.com/newpage"&gt; http://www.newdomain.com/newpage</a&gt;
</center>
</body>
</html>

I know there is an insert html box to customize my smugmug page, but will it work for this META refresh command? Is there a better way to accomplish this, other than a manual link?

Comments

  • Options
    CarSalesmanCarSalesman Registered Users Posts: 29 Big grins
    edited February 13, 2015
    Followup to above. I do not want the forwarding page to appear as a link from any of my new smugmug pages. The only purpose is for users and google to see the old address, and forward to the new one. I want the new address to be www.mysmugmugdomain.com/oldpage. When I do that a link to the page appears on my smugmug site home page.

    To get around that I changed the security to "available to anyone with the link". Unfortunately when I do that, the page address changes to www.mysmugmugdomain.com/oldpage/x01jkl22, or something with random characters on the end. That won't help me because users or google with the old links won't find it with those characters.

    How can I make the page appear at the previously specified address, but not appear as a link from my new pages?
  • Options
    Hikin' MikeHikin' Mike Registered Users Posts: 5,458 Major grins
    edited February 14, 2015
    Not sure I understand. If you want 'old-domain.com' to forward to your new SM site 'new-domain.com', then you need a 301 redirect on your old domain using the '.htaccess' file. If that isn't what you won't then I'm pretty sure you are out of luck. You can not add anything to your SM section and you can't edit your SM '.htaccess' file.
  • Options
    Tom FosterTom Foster Registered Users Posts: 289 Major grins
    edited February 20, 2015
    I'm also a bit confused about what you're asking? It's easy enough to redirect from one domain name to another if that's what you were wanting. I don't think you can redirect on smugmug from one page to another though.

    However, what you can do is go to your 404 page. You need to make up a bad address- www.newdomain.com/dufjfifidididididid for instance and then customise the page. You can add a message that the page has been moved on there and redirect to homepage/galleries or wherever.
Sign In or Register to comment.