I have a website made in Joomla that has a button that is supposed to redirect to a Wordpress page.
<p>Questionnaire</p>
The button is supposed to go to https://forms.site.ca/ but the page then goes back to http://site.ca/?login=empty but site.ca is the site with the button.
Not sure why but any advise is greatly appreciated. Thank you.
" wp-login.php?redirect_to=%2F " means "page_login.php redirect to= nothing but a space " so this part need to be removed or modified.
the href should be "https://forms.site.ca/" to go to the good page.
and if you want a connexion you can use a general user and fill the parameters in url directly.
Go on the wordpress codex to know the parameters to add.
https://www.google.fr/search?q=wp-login.php%3Fredirect&oq=wp-login.php%3Fredirect&aqs=chrome..69i57j69i58j69i60.1102187j0j7&sourceid=chrome&ie=UTF-8
Related
So, for the most part my website works perfectly fine, except for when you click under 'Services' (/what-we-do/property-acquisition/) and try to go into Contact (it tries to link to a what-we-do/property-acquisition/contact instead of just /contact/). Only that part specifically doesn't work for some reason? Thank you in advance to anyone that can solve this for me
https://staging.highmarkschools.com/what-we-do/property-acquisition/
I don't know why this is the only page that doesn't click into Contact, and that's the only part of the header that doesn't link?
The link to that page is just href="contact" which is a relative link. It doesn't break on only one page, it breaks on all pages that aren't direct children of home. It should be changed to href="/contact/", where the leading forward slash makes the URL absolute.
Also, ideally you'd be building that menu using WordPress's menuing system which, unless you manually enter URLs, would take care of this for you.
it is because your button has been directed to the wrong link. You need to make sure the link in your button has the correct path.
I have a page in Drupal which is coming when clicking on a my account link,
I want to change some content of this page, but I couldn't find page in the script. The URL of the page is
http://localhost/example_drupal/node/8135/edit?destination=sa/view-forms%3Ffield_sd_club_name_value%3Dnes%26field_form_status_value%3DAll
Please anyone help me, how to get the same page in Drupal to edit it?
So, url to your page is /node/8135 and url to it's edit page is /node/8135/edit . You got both ulrs there.
For easy search nodes use Administration Views module. Module add search field in pages list.
I have a large multilingual website.
My problem is that when I try to edit the content type from /admin/structure/types/article with admin account page is redirected to /user/xxx/edit page. I could not find a way to check from which page it is redirecting. I have checked the permission of my user and all is OK.
Is there any way or a drupal module which can help me to find out the origin of the wrong redirection?
I don't think so but I personally would do the following: go to the node_page_edit function and place the following code right in the beginning:
var_dump(debug_backtrace());
exit;
Then you can figure out the sequence of events that led to that page.
PS: use print_r, dpm or whatever you want. I like var_dump ;)
I am making a website for a client of mine, and it is quite complicated. It consists of a sidescrolling parallax style story and the pages are filled with a lightbox system. So when you click a link it wont go to another page but opens it in the lightbox.
Here comes the problem:
It works when you go to www.foo.com. But I want when you go to www.foo.com/subpage, it redirects to the homepage and opens the selected subpage in the lightbox. I have the code to open the lightbox from a variable. But I dont know how to fetch the url you typed.
Try getting
$_SERVER['HTTP_REFERER']
via php.
should be the URL you came from.
This is the website url www.iaspirant.com .
So this will redirect to 404 page. Now the strange thing is when I do a login from wordpress wp-admin and then try to open the website then homepage gets load successfully.
So this happens only when a user is not admin.
Now in order to resolve that I googled lot and tried various approach but with no success.
tried to add 301 redirection in 404 page so that it will redirect to home page but this creates a loop
Try to delete .htaccess file but no difference
Try to change the theme to ensure whether its error in code but no success
If any one can suggest me anything then it will great help.
Try goto to /wp-admin/options-reading.php
And setup Front page displays as static page or post.
Do you have installed any maintenance plugin?
Did you check the permissions? try a permissions plugin
Go to settings->reading and see if you have set Front page displays your latests posts and not a static page
You just made a mistake in Param links:
Change your home param link to http://iaspirant.com/?page_id=428 and
then it would definitely it will wok.
Check also your static page in customization
go to apperence-->themes-->customization and set static page as your home page.