1
fla-ts
Text at internet explorer address bar
  • 2019/3/2 16:18

  • fla-ts

  • Friend of XOOPS

  • Posts: 204

  • Since: 2005/1/4 1


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

2
liomj
Re: Text at internet explorer address bar
  • 2019/3/6 4:44

  • liomj

  • Just popping in

  • Posts: 94

  • Since: 2012/4/10


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

3
fla-ts
Re: Text at internet explorer address bar
  • 2019/3/6 7:17

  • fla-ts

  • Friend of XOOPS

  • Posts: 204

  • Since: 2005/1/4 1


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

4
liomj
Re: Text at internet explorer address bar
  • 2019/3/6 9:07

  • liomj

  • Just popping in

  • Posts: 94

  • Since: 2012/4/10


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

5
fla-ts
Re: Text at internet explorer address bar
  • 2019/3/6 9:17

  • fla-ts

  • Friend of XOOPS

  • Posts: 204

  • Since: 2005/1/4 1


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

6
aerograf
Re: Text at internet explorer address bar
  • 2019/3/6 12:28

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1



Login

Who's Online

368 user(s) are online (252 user(s) are browsing Support Forums)


Members: 0


Guests: 368


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