Hello Pim
Yes, with this feature http://wp-filter.com/document/constant-link-extension/ – read this please …
Hi RealMag777
Thanks for your reply. I found that one indeed, and gave it a try. The url created does work if I paste it in for instance the address bar in a browser, though I can’t manage to make that the homepage/landingpage. I tried to use that one in the general WP settings by entering it in ‘Site URL’ though that doesn’t work. Stupid me then tried to use it at the ‘WP URL setting’ and now I can’t enter my WP backend anymore :-000
So I kind of f*cked up my site. Trying to get it up and running by accessing the databases though no luck untill now.
Do you happen to know how to solve this.. and then use the constant link somewhere to make it my homepage? I know this is not your problem, but being a programming genius like you, maybe you have a quick solution..
Either way thanks for your support so far.
Cheers,
Pim
In the meantime I managed to adjust the databases and remove the redirect. So that’s functioning normal again. Pfew.
So my only question now is how to use the constant link as the direct landing/redirect when visitors enter the normal domain URL. One thing I’ve learned is that it isn’t the ‘site url setting’ in the wp general settings pane 😉
Thanks,
Pim
Hello Pim
Thank you for cooperation! Looks like you has good adventures with wp settings 😉
So my only question now is how to use the constant link as the direct landing/redirect when visitors enter the normal domain URL – I think when your visitor enter any page where yuo can suggest him redirection – let that links will be on the sidebar, OR if you do not want to give him a choice – on the same top of your theme header.php file – the same first row write next code:
<?php
$actual_link = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
switch($actual_link){
case 'http://my_site.com/page1':
wp_redirect( 'http://my_site.com/page1?slg=product&mdf_cat=56&page_mdf=880', 301 );
exit;
break;
}
?
>
http://stackoverflow.com/questions/6768793/get-the-full-url-in-php
https://codex.wordpress.org/Function_Reference/wp_redirect