How to make a internal link with rewrite_url = ON???

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Moozie
Posts: 164
Joined: Sat 8. Nov 2003, 00:21
Location: Netherlands

How to make a internal link with rewrite_url = ON???

Post by Moozie »

Oliver mentioned that you can not work with aleas when creating links when rewrite_url is on. He said there are some bugs with alias in this case. But is there another way to create internal links with rewrite_url = on?

As far as I have tested this is NOT working either:

Code: Select all

[id 34]Click to visit page[/id]
He tries to link to 0.34.0.1.0.0.html instead of 34.0.0.1.0.0.html.. Why???

By the way: How do you know what the ID is of an article? My guess is looking in the frontend and hover ebove a menu button to see what number is being called (in this case 34).

The only thing I can think of is creating an internal link like this:

Code: Select all

[int http://www.mydomain.com/phpwcms/34.0.0.1.0.0.html[click to go to page[/int]
Or is there another way to create an internal link, linking from one page to another internal page? Using tags like [id]???
fimi
Posts: 8
Joined: Sun 15. Feb 2004, 19:43

Post by fimi »

[int http://www.mydomain.com/phpwcms/34.0.0.1.0.0.html[click to go to page[/int]

should be

[int http://www.mydomain.com/phpwcms/34.0.0.1.0.0.html]click to go to page[/int]
gent
Posts: 163
Joined: Tue 16. Dec 2003, 13:51
Location: Berlin

Re: How to make a internal link with rewrite_url = ON???

Post by gent »

Moozie wrote:
The only thing I can think of is creating an internal link like this:

Code: Select all

[int http://www.mydomain.com/phpwcms/34.0.0.1.0.0.html[click to go to page[/int]
Or is there another way to create an internal link, linking from one page to another internal page? Using tags like [id]???

i use this with rewrite on:

Code: Select all

[INT alias.html]click here[/INT]
cause, with rewrite on u can use the alias with the extension ".html" to call the page.
Jan212
Posts: 859
Joined: Wed 28. Jan 2004, 21:38
Location: Solingen
Contact:

Post by Jan212 »

[ID alias]Link[/ID] should give the same results with the installed bugfixes and rewrite engine on...
Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
gent
Posts: 163
Joined: Tue 16. Dec 2003, 13:51
Location: Berlin

Post by gent »

Jan212 wrote:[ID alias]Link[/ID] should give the same results with the installed bugfixes and rewrite engine on...
what bugfixes u mean?
i use the last release and was turning rewrite on like: http://www.phpwcms.de/forum/viewtopic.php?t=1111

all is working, but i cant change the front.func.inc.php, i get a parse error if i copy/paste the changed code for function url_search($query).


r there other bugfixes?
and why u dont write the cleaned "anleitungs"-version to ur helpful website : http://wcmsrockt.null212.de/index.php?id=1,0,0,1,0,0

? :)
Jan212
Posts: 859
Joined: Wed 28. Jan 2004, 21:38
Location: Solingen
Contact:

Post by Jan212 »

Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
Post Reply