1
noo-b
Publisher and SEO
  • 2010/5/8 0:51

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


How do i enable seo in publisher ?

I want to use htaccess method

i put this in my htaccess
RewriteEngine   On
RewriteRule     
^publisher.([a-z]+).([0-9.]+)/  modules/publisher/index.php?seoOp=$1&seoArg=$2



i want to enable seo htaccess method in preferences but there is no option for that...

all i see is None & Path Info


http://img64.imageshack.us/img64/5148/seopublisher.jpg



my server is rewrite enable..other htaccess eg news is working finebut not publisher..

Im using 2.4.4
I Love Xoops

2
noo-b
Re: Publisher and SEO
  • 2010/5/9 15:07

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


bump
I Love Xoops

3
pablo103
Re: Publisher and SEO
  • 2010/5/9 17:12

  • pablo103

  • Not too shy to talk

  • Posts: 181

  • Since: 2008/2/3 1


I have the same problem.

At the moment i set path-info and left blank URL Rewriting module name

The title of the article is now rewrited but module name is still modules/publisher. I tried everything and i am getting errors.


I think somebody should give a detailed instruction how to make it work!

4
trabis
Re: Publisher and SEO
  • 2010/5/9 17:41

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Open xoops_version.php and remove the condition:
//if ($isModuleAction && in_array(php_sapi_name(), array("apache", "apache2handler"))) {
    
$modversion['config'][$i]['options'][_MI_PUBLISHER_URL_REWRITE_HTACCESS]  = 'htaccess';
//}

5
pablo103
Re: Publisher and SEO
  • 2010/5/9 21:09

  • pablo103

  • Not too shy to talk

  • Posts: 181

  • Since: 2008/2/3 1


I ve added this line to .htaccess and changed my preferences to path-info and also set the name xxx for URL Rewriting module.

i changed xoops_version as well

My adress still looks like http://www.mysite.com/modules/publisher/index.php/item.24/title-of-artice .... Shouldn t be http://www.mysite.com/xxx/item.24/title-of-article??
What do I do wrong?

6
noo-b
Re: Publisher and SEO
  • 2010/5/10 11:07

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


yes its not working
I Love Xoops

7
trabis
Re: Publisher and SEO
  • 2010/5/10 12:35

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Do you have htacccess option in seo preferences after changing xoops_version? If not then update publisher and set seo preference to htaccess.


8
pablo103
Re: Publisher and SEO
  • 2010/5/10 13:21

  • pablo103

  • Not too shy to talk

  • Posts: 181

  • Since: 2008/2/3 1


NO i have just
noen
info-path

no htaccess

I tried to update publisher module after cutting the code out form xoops_verison but i am getting error 500!

9
trabis
Re: Publisher and SEO
  • 2010/5/10 17:41

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


You get error 500 just by updating publisher??
Or you get error 500 after set publisher to use htaccess?

My guess is that your server does not have mod_rewrite enable and that is why the option was not available in preferences.

10
pablo103
Re: Publisher and SEO
  • 2010/5/10 19:33

  • pablo103

  • Not too shy to talk

  • Posts: 181

  • Since: 2008/2/3 1


Ha! I restore the orginal xoops_version file and i can update publisher now... but this doesn t solve my problem described before... thanks

Login

Who's Online

377 user(s) are online (251 user(s) are browsing Support Forums)


Members: 0


Guests: 377


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