PEAK XOOPS - mod_rewrite in englishin japanese

mod_rewrite

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum

question mod_rewrite

msg# 1
Previous post - Next post | Parent - Children.1 .2 | Posted on 2006/8/23 5:33
Wardick  上等兵   Posts: 38
Is it possible to change the rewrite rule after pages have been created.

If so how?



Votes:0 Average:0.00

question Re: mod_rewrite

msg# 1.1
Previous post - Next post | Parent - No child | Posted on 2006/8/23 16:13
kurak_bu  上等兵   Posts: 34
yes, just use Simplified URL's hack , search it on xoops.org
Votes:0 Average:0.00

question Re: mod_rewrite

msg# 1.2
Previous post - Next post | Parent - Children.1 | Posted on 2006/8/24 1:09
GIJOE  先任軍曹   Posts: 4110
possible if you can use mod_rewrite in .htaccess.

- rename .htaccess.rewrite to .htaccess
- set "use mod_rewrite" in TinyD's preferences.
Votes:7 Average:0.00

question Re: mod_rewrite

msg# 1.2.1
Previous post - Next post | Parent - Children.1 | Posted on 2006/8/24 4:14
Wardick  上等兵   Posts: 38
Thank you for your replies.

I have rewrite working it is great.

My problem. Now I want to change the already created pages that were created with the default rewrite rule to a new rule.

Is this possible?

Now I have /rewrite/tc_1.html I want to change to /newrite/my_1.html.

When I do this I get a page not found error when applying the new rule.

Votes:0 Average:0.00

question Re: mod_rewrite

msg# 1.2.1.1
Previous post - Next post | Parent - No child | Posted on 2006/8/24 5:53
GIJOE  先任軍曹   Posts: 4110
Edit not only .htaccess but also include/constants.inc.php

here.
define('TC_REWRITE_DIR' , 'rewrite/');
define('TC_REWRITE_FILENAME_FMT','tc_%s.html');

Votes:7 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!