1
spacejoee
About comments : How to change the url ?
  • 2006/10/9 4:43

  • spacejoee

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/25


Hello,
In the last comments bloc, i would like to change the structur of the url.
Actualy for exemple it looks like that :

http://www.casafree.com/modules/xcgal/displayimage.php?pid=15984&com_id=94014&com_rootid=94014&#comment94014

And i want it to display only this :
http://www.casafree.com/modules/xcgal/displayimage.php?pid=15984

Wich file should i edit, and what should i remove ?

Thank you for your help.

2
wizanda
Re: About comments : How to change the url ?
  • 2006/10/9 7:27

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


Can you not use a ht.access file to url re-write it to the address you need?
Not sure on the exact code you will need though...

3
spacejoee
Re: About comments : How to change the url ?
  • 2006/10/9 7:52

  • spacejoee

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/25


Thank you for your reply... but I don't want to make a rewrite

4
spacejoee
Re: About comments : How to change the url ?
  • 2006/10/9 23:18

  • spacejoee

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/25


I just want to remove :
this : com_id=
this : &com_rootid=
and this : #comment
From my urls.
Any idea about the file we need to edit ?

5
spacejoee
Re: About comments : How to change the url ?
  • 2006/10/10 21:12

  • spacejoee

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/25


No idea ?

6
davidl2
Re: About comments : How to change the url ?
  • 2006/10/10 21:16

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


If you remove this information from the url, then it cannot point to the correct place.

I don't really think it will be possible - without completely rewriting the comments code.

Is there any reason you need this done?

7
spacejoee
Re: About comments : How to change the url ?
  • 2006/10/10 21:30

  • spacejoee

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/25


As you can see , those two url are pointing to the same page :
this one : http://www.casafree.com/modules/xcgal/displayimage.php?pid=15984&com_id=94014&com_rootid=94014&#comment94014

and this one : http://www.casafree.com/modules/xcgal/displayimage.php?pid=15984

So to avoid having hundred of urls for the same page, and to avoid duplicate content penality, i think it s more safe to have only one url to acces to a page.

In my case, i want this structure of the url :

domain.com/modules/modulename/file.php?id=itemid

I hope you understood what i mean .

8
spacejoee
Re: About comments : How to change the url ?
  • 2006/10/11 13:43

  • spacejoee

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/25


No one know if it is possible or no ? ...

9
spacejoee
Re: About comments : How to change the url ?
  • 2006/10/30 13:59

  • spacejoee

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/25


Some days later ...
any idea ?

10
davidl2
Re: About comments : How to change the url ?
  • 2006/10/30 15:08

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


I don't really think it will be possible - without completely rewriting the comments code.

(as per my answer here)

Login

Who's Online

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


Members: 0


Guests: 284


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