1
tatane
url rewrite
  • 2009/2/18 10:38

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


hello


I followed the procedure plugins of dugris but I would go further.

Thanks to plugins, I could change my address gender http://www.monsite.com/modules/catads by http://www.monsite.com/Titre-que-je-définis

I'd like to go further, I would now like to replace http://www.monsite.com/Titre-que-je-définis/adsitem.php?ads_id=126 by http://www.monsite.com/Titre-que-je-définis/nom-de-la-catégorie/numero-de-l-annonce


How?

2
webmystar
Re: url rewrite
  • 2009/2/18 11:48

  • webmystar

  • Friend of XOOPS

  • Posts: 415

  • Since: 2008/6/23


this is the optimal url structure, but i think you must waiting for this feature, or you can hack the original XoRewrite Code. this is complex.

3
tatane
Re: url rewrite
  • 2009/2/18 12:05

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1



what XoRewrite code hack you speak?

4
elsanto
Re: url rewrite
  • 2009/2/19 0:29

  • elsanto

  • Just popping in

  • Posts: 18

  • Since: 2009/1/5 1



Tatan sir: you search catads my system?
http://www.guiasexo.com.ar/modules/catads/
I do not use XoRewrite.
Reforms to the module, will be explained and published soon in the forum of the Spanish community esxoops.com

5
deka87
Re: url rewrite
  • 2009/2/19 8:23

  • deka87

  • Friend of XOOPS

  • Posts: 1124

  • Since: 2007/10/5


elsanto, nice girls and nice hack. how did you manage to do this? ( I mean .html urls?!) Please teach me. I am not really good in Spanish, will you explain this in English?
Mind anchors

6
elsanto
Re: url rewrite
  • 2009/2/19 20:20

  • elsanto

  • Just popping in

  • Posts: 18

  • Since: 2009/1/5 1



Mr deka87: In this post we will explain in Spanish how to modify the module Mr deka87: In this post we will explain in Spanish how to modify the module catadscatads

At the end of the module will post with all the improvements as we have done with the module news seo EN ES FR 1.63

7
tatane
Re: url rewrite
  • 2009/2/20 8:21

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1



it looks like what I want to do but to Catads What is lasetnews?

8
joat
Re: url rewrite
  • 2009/3/3 16:52

  • joat

  • Just popping in

  • Posts: 19

  • Since: 2009/3/3 0


Quote:
deka87 wrote:
I am not really good in Spanish, will you explain this in English?


You could use http://www.google.com/language_tools?hl=en
to translate almost any site in the world ;)

9
joat
Re: url rewrite
  • 2009/3/3 17:11

  • joat

  • Just popping in

  • Posts: 19

  • Since: 2009/3/3 0


Quote:
elsanto wrote:
At the end of the module will post with all the improvements as we have done with the module news seo EN ES FR 1.63


Nice job ! Tnx !
BTW, thanks to google again, I translate your file seo.rtf to english. If somebody interesting in that, here you go:

===========================================
Quote:

What is SEO for News?
=============================
See the following URL
http://www.esxoops.com/modules/news/article.php?storyid=803

And below after activating SEO friendly URLs
http://www.esxoops.com/noticias.item.803/entrevista-a-julionc.html

It is found that the latter is more desired by the search engines.
Can significantly increase the search engine traffic to your site.

How do I enable SEO for News?
======================================
Should be defined in <xoops_root>/mainfile.php : define('news_seo_enable', 'rewrite');
as the following example shows
--------------------------------------------------------------------
Define "XOOPS_GROUP_ADMIN"'1');
Define "XOOPS_GROUP_USERS"'2');
Define "XOOPS_GROUP_ANONYMOUS"'3');
   
// ----------------------------------
   // Allow SEO NEWS
   // Next string should be added only
   //
   
define('news_seo_enable''rewrite');
   
// ----------------------------------
  
if (! isset ($ xoopsOption 'nocommon']) & & XOOPS_ROOT_PATH! ='') (
Requieren XOOPS_ROOT_PATH ". / Include / common.php";
)
--------------------------------------------------------------------


To activate the url rewrites you should add to
<xoops_root>/.htaccess
the following two lines (uncomment(remove sign “#”) string beginning
with “RewriteRule….” that is appropriete for your default language)


RewriteEngine On
#
# Spanish
#
# RewriteRule ^noticias.([a-z]+).([0-9.]+)/  modules/news/seo.php?seoOp=$1&seoArg=$2

#
# English
#
RewriteRule ^news.([a-z]+).([0-9.]+)/  modules/news/seo.php?seoOp=$1&seoArg=$2

==========================================

10
bjuti
Re: url rewrite
  • 2010/3/1 1:30

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Is there any support for SEF for News 1.66? Is there any tutorial what files to change/edit?

Tnx

Login

Username:
Password:

Lost Password? Register now!

Who's Online

78 user(s) are online (45 user(s) are browsing Support Forums)


Members: 0


Guests: 78


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