Modules

Moved - replace and redirect from your missing module pages

solo71  22-Jun-2005 09:45 5058 Reads   17 Comment(s) 
What for? Let say you want to change of main module on your site, and switch from "section" to "WFsection" for instance. All your previously referenced pages would lead to dead end, and you would probably loose some rank places. This module would automatically replace those missing pages and redirect to your new section module.

Tested and approved by Arma sa (sample page).

Description

Moved is missing page redirection module, which allows you to redirect bots or user from a missing module pages, to another place.

1) Installation
The purpose of this module is to replace a missing module. Follow the next 5 steps to proceed to the missing module replacement;

a. Unzip the Moved module on your hardrive.
b. Rename the 'moved' directory with the replaced module name (ie. : moved -> section)
c. Edit the 'xoops_version.php' file, and replace the followin line :
$modversion['dirname'] = "moved";
with the replaced module name : (ie : $modversion['dirname'] = "section";)
d. Upload the zip archive 'myHome' directory in the server 'modules' directory of your Xoops site.
e. Install throught the module admin system.
f. Edit the module preferences, and indicate the replacement module url.
(ie : modules/wfsection/)

That's it.


2) Module Preferences
Click on the module logo's preferences link in admin area.

1.a. Redirection

Replace the replaced index page by another page.
- Displaying an absolute or relative url (can be outside your website).
- Leave blank for default homepage (default).

1.b. Index Logo

Display a logoon your redirection page. Enter the picture url here. Leave empty to display none.

1.c. Redirection text

Place here your redirection message.

1.d. Redirection timer
Define how many second the redirection page is displayed in seconds.


3) Module adaptation
Default redirection pages are following :
- index.php
- category.php
- client.php
- content.php
- item.php
- join.php
- page.php
- print.php
- rate.php
- submit.php

Check in your replaced module (module root files) wether those files cover all the existing file. If some are missing, just copy the index.php file from the moved module and rename it alike the removed module missing file.

4) More than one module...
It is possible to clone the 'Moved' module and use it for more than one missing module. Just respect the installation process as explained above.

Happy Xoopsing

Solo
http://www.wolfpackclan.com/wolfactory
Rating 0/5
Rating: 0/5 (0 votes)
Voting is disabled!


Login

Who's Online

317 user(s) are online (65 user(s) are browsing Publisher)


Members: 0


Guests: 317


more...

Donat-O-Meter

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

Latest GitHub Commits

Categories