rewrite rules and refresh by time

Post a reply

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: rewrite rules and refresh by time

refresh by time example

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

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

This rule named "test" refreshs everyhour a flie that got following name HOUT/MINUTE/SECOND.html => for eaxample 12/47/18.html

rewrite rules and refresh by time

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

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

inside the yellow marked textarea you also can use datereplace placeholders (see below)
rewriterules_b.png
rewriterules_b.png (6.2 KiB) Viewed 4212 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 4212 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

Top


cron