rewrite rules and refresh by time

rewrite rules and refresh by time

Postby Erik Sefkow » Wed 3. Apr 2013, 13:45

rewriterules_a.png
rewriterules_a.png (3.86 KiB) Viewed 1841 times

inside the yellow marked textarea you also can use datereplace placeholders (see below)
rewriterules_b.png
rewriterules_b.png (6.2 KiB) Viewed 1841 times

inside the yellow marked textarea you also can use datereplace placeholders (see below) and $1 for the filename if you choose a preg_match option
rewriterules_c.png
rewriterules_c.png (4.08 KiB) Viewed 1841 times

inside the yellow marked textarea you also can use datereplace placeholders (see below) and $1 for the filename if you choose a preg_match option
If you want to use this feature, its necessary that a cronjob request http://***yourwordpressinstallationurl***/wp-cron.php . If the wp-cron.php is not calls, this task runs if you request a page from you wordpressinstallation.

datereplace placeholder
The php function date is used. The following character are allowed: d, j, m, n, Y, y, g, G, h, H, i, s. Every date palceholder must start with a Dollar-Sign: $. For example: $y/$m.html
Erik Sefkow
Administrator
 
Posts: 69
Joined: Sun 16. Sep 2012, 14:44

refresh by time example

Postby Erik Sefkow » Mon 22. Apr 2013, 09:45

refreshbytime.PNG
refreshbytime.PNG (4.51 KiB) Viewed 1718 times

This rule named "test" refreshs everyhour a flie that got following name HOUT/MINUTE/SECOND.html => for eaxample 12/47/18.html
Erik Sefkow
Administrator
 
Posts: 69
Joined: Sun 16. Sep 2012, 14:44


Return to installation


cron