- Code, Content, and Presentation
---- redirect external link to specified page on wordpress
- 3:43 am on Apr 5, 2013
The only issue is short link add from plugin admin area not added automatically specially their is at less 260 link needed to modify.
Can you say this again in different words please? I understand that you have many many links in this form, so you want something to happen automatically. You don't want to edit 260 posts.
about ../../../wp-config.php path I think the author us it to reach wp-config.php on site root from current plugin path which is
If you need to use the part of the code that refers to /wp-config.php then give a site-absolute URL like
:: shuffling papers ::
$_SERVER['DOCUMENT_ROOT'] . "/exact-path-here/wp-config.php"
Do you really need "if file exists" and "require" as entirely separate commands? It makes me think of those apache envelopes that say <IfModule...>. Either you've got the wp-config file or you haven't.
Brought to you by