xoops forums

fla-ts

Friend of XOOPS
Posted on: 3/2 16:18
fla-ts
fla-ts (Show more)
Friend of XOOPS
Posts: 189
Since: 2005/1/4 1
#1

Text at internet explorer address bar

When selecting “DRAAITIJD” at the website the following appears in the explorer address bar:
http://fla-ts.com/modules/publisher/item.php?itemid=24
is it possible to change this into
http://fla-ts.com/modules/publisher/DRAAITIJD
It would be nicer when mention the link on e-mails with
http://....... / DRAAITIJD instead of http://....... /item.php? Itemid = 24

LioMJ

Just popping in
Posted on: 3/6 4:44
LioMJ
LioMJ (Show more)
Just popping in
Posts: 33
Since: 2012/4/10
#2

Re: Text at internet explorer address bar

Hi flats

try this

1. Please refer to modules/publisher/extra for seo option
2. enable htaccess option in publisher preferences url rewrite method
3. enable the short url field in form permission (Fields available in articles submission forms) (modules/publisher/admin/permissions.php)

4. edit your article id:24 to have short url example DRAAITIJD.html

5. add this in your .htaccess in file root..

example
RewriteRule ^publisher.([a-z]+).([0-9.]+)/  modules/publisher/index.php?seoOp=$1&seoArg=$2
RewriteRule 
^publisher/?$ /modules/publisher/index.php
RewriteRule 
^DRAAITIJD/?$ /publisher.item.24/DRAAITIJD.html


6. try http://fla-ts.com/DRAAITIJD/ if it is accessible

fla-ts

Friend of XOOPS
Posted on: 3/6 7:17
fla-ts
fla-ts (Show more)
Friend of XOOPS
Posts: 189
Since: 2005/1/4 1
#3

Re: Text at internet explorer address bar

Thanks for the reply but the mentioned link (6.) doesn't work.

LioMJ

Just popping in
Posted on: 3/6 9:07
LioMJ
LioMJ (Show more)
Just popping in
Posts: 33
Since: 2012/4/10
#4

Re: Text at internet explorer address bar

some slashes are stripped automatically by xoops editor in my htaccess example above

the second and third line in the example should be correct

change the first line to the correct format by referring files in the modules\publisher\extra\seo\

after you did all the steps..
you should be able to access

http://fla-ts.com/publisher.item.24/DRAAITIJD.html
or
http://fla-ts.com/DRAAITIJD/

make sure Apache mod_rewrite module is also enable in your server

fla-ts

Friend of XOOPS
Posted on: 3/6 9:17
fla-ts
fla-ts (Show more)
Friend of XOOPS
Posts: 189
Since: 2005/1/4 1
#5

Re: Text at internet explorer address bar

I will try another solution, not everyone knows such things as the 'apache mode' . However, thx for the help

aerograf

Quite a regular
Posted on: 3/6 12:28
aerograf
aerograf (Show more)
Quite a regular
Posts: 202
Since: 2017/1/7 1
#6

Re: Text at internet explorer address bar

Look here:
https://xoops.org/modules/newbb/viewto ... at&order=ASC&type=&mode=0