Jump to content

iesdp links


Recommended Posts

I don't know what the base is (RewriteBase), but something like this should do:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^forums.gibberlings3.net
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ http://gibberlings3.net/forums/$1 [R=301,L]

test case:
http://forums.gibberlings3.net/index.php?showtopic=29062
http://gibberlings3.net/forums/index.php?showtopic=29062

Edited by lynx
Link to comment

This problem bother me from long time when I've reading mod old threads and find links which leads to oblivion. Lucky for me, I know how to use '29062' in the context of the links. Many other are not so please fix this using any kind ow workaround until proper fix can be implemented.

Link to comment

I don't know what the base is (RewriteBase), but something like this should do:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^forums.gibberlings3.net
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ http://gibberlings3.net/forums/$1 [R=301,L]

test case:

http://forums.gibberlings3.net/index.php?showtopic=29062

http://gibberlings3.net/forums/index.php?showtopic=29062

This was attempted as soon as we got our FTP access restored, as was an IESDP redirect. htaccess files are disallowed at our directory level, and our account doesn't go above the web root for the site.

Link to comment

that's odd, this should work on the web root level.

 

Anyway, at least IESDP can be fixed via html. Replace its index.htm with this one:

<html>
  <head>
    <title></title>
    <meta http-equiv="refresh" content="0;url=https://gibberlings3.github.io/iesdp/" />
    <style></style>
  </head>
  <body>
  </body>
</html>
Link to comment

 

that's odd, this should work on the web root level.

 

Anyway, at least IESDP can be fixed via html. Replace its index.htm with this one:

<html>
  <head>
    <title></title>
    <meta http-equiv="refresh" content="0;url=https://gibberlings3.github.io/iesdp/" />
    <style></style>
  </head>
  <body>
  </body>
</html>

Strangely enough, I do also know HTML. And while that will fix the index, it won't fix redirects for the 817 other pages.

 

Don't worry, this is on the to-do list. Main nav has been fixed, the rest will keep for now.

Link to comment

iesdp.gibberlings3.net and gibberlings3.net/iesdp are baked in many places, so it would still be helpful. But now that you have access to ftp, you could also just delete the old iesdp and add a custom 404 page with another redirect (if supported). Or if there's cron, even better ...

Link to comment

iesdp.gibberlings3.net and gibberlings3.net/iesdp are baked in many places, so it would still be helpful. But now that you have access to ftp, you could also just delete the old iesdp and add a custom 404 page with another redirect (if supported). Or if there's cron, even better ...

 

Right, so let me just designate a custom 404 page in my htaccess... :)

 

We have the technical knowledge. We lack the time. It's on the list.

Link to comment
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...