1
soconfused
Selected module does not exist - instead of 404 page not found
  • 2005/7/10 10:40

  • soconfused

  • Not too shy to talk

  • Posts: 108

  • Since: 2005/4/2 1


Hello,

Read & searched through the XOOPS site but can't find anything.

I uninstalled a couple of modules because I'd found a better one to replace them with, but the links in Google etc pointing to the content that was in thoses modules brings up "Selected module does not exist" instead of my custom 404 page, I've tried re-installing them & uninstalling again but without any luck.

In the end I've had to re-install them and add a custom block to each module pointing visitors to the new location.

I've tried all the debugs but everything seems normal, is this normal? do I have a problem somewhere? Shouldn't my 404 page show instead?

2
JMorris
Re: Selected module does not exist - instead of 404 page not found
  • 2005/7/10 11:48

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


In the modules directory, create an empty directory with the name of the module you've uninstalled. Now upload a custom redirect page that informs visitors that they need to update their bookmarks. You can just do a simple page that uses the META REFRESH tag to redirect the visitor to the new URL after 5 seconds.

Example:
<html>
<
head>
<
meta http-equiv="refresh" content="5;url=http://yoursite.com/modules/othermodule/">
<
title>This page has moved!</title>
</
head>
<
body>
<
p align="left">This page has moved to a new location.  You will be redirected to the new page in 5 seconds, or <a href="http://yoursite.com/modules/othermodule/" target="_self">CLICK HERE</ato go directly to the new page.
<
br />
<
br />
Thank You,
<
br />
<
br />
Webmaster
</body>
</
html>


Hope this helps!

JMorris
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

3
WarDick
Re: Selected module does not exist - instead of 404 page not found
  • 2005/7/10 11:53

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


Better yet install solo's new module Moved 1.2.
Urging XOOPS to be the Best It Can Be.
Richard......

4
JMorris
Re: Selected module does not exist - instead of 404 page not found
  • 2005/7/10 11:58

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


WOW! Must have missed that one some how.

Yeah, I think that would do the job nicely.
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

5
soconfused
Re: Selected module does not exist - instead of 404 page not found
  • 2005/7/10 12:11

  • soconfused

  • Not too shy to talk

  • Posts: 108

  • Since: 2005/4/2 1


Hi,

Thanks

Would the redirect (with either of the 2 options) have an effect on seo? - don't want to be penalized by google

And is it normal? ie - I haven't got anything wrong with my database etc

I don't mind leaving the modules in place with the custom blocks (I may find uses for them, just worried about loosing serps).

Login

Who's Online

178 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 178


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits