11
bjuti
Re: Canonical URI´s over Xoops
  • 2009/7/19 9:35

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Hm.. i got "The page isn't redirecting properly" :)

12
DonCurioso
Re: Canonical URI´s over Xoops - UPDATE

Hi,

i did found some issues, after test, please, use as is:

Create a .htaccess with:

RewriteEngine on
RewriteCond %{ HTTP_HOST }^hispaxoops.com [ NC ]
RewriteRule ^(.*)$ http://www.hispaxoops.com/$1 [L,R=301]



Change this domain for yours, save and upload to your XOOPS folder.

Edit header php, around line 120 and include these lines:


//www.celseven.com - Definir URL Canónica - XOOPS
echo "" ;
//www.celseven.com - URL Canónica definida


Just before these two lines:

$xoopsLogger->stopTime( 'XOOPS output init' );
$xoopsLogger->startTime( 'Module display' );



Save&upload.
That´s all !!! Right now it´s working fine !!!

All info in Hispaxoops

Suggestions, comments... all welcome !!!
HispaXoops | Xoops España

That's the way i like it! | Nada mejor que una Alhambra bien helada con aceitunas...

Login

Who's Online

242 user(s) are online (164 user(s) are browsing Support Forums)


Members: 0


Guests: 242


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