I'm currently developin开发者_如何学JAVAg a PHP application where I have SEO friendly URLs, I'm planning on once finished production stage (off localhost) to purchase some shared webhosting and schedule a cronjob for one of the files.
Now I'm wondering does the shared webhosting CPanel cronjob scheduler support mod_rewrite'd URLs or will I need to pass the direct file path?
If you want to run the php script via command line, then
You will need to pass the full file path.
But if the script can be run via web request then you can use wget
to use the URL of the file which will be the SEO friendly one
精彩评论