Strange link bug with hyperlink in Wordpress - php

When I clicked on link that redirects to Main Shop page of WooCommerce, there is blank page with no products. (see link ПРОДУКТИ in top right bar above the header)
When you click on button from Main Menu it is OK (button: ПРОДУКТИ).
I disable all plugins and change the theme, but with no luck!
See here my website Shop page: https://www.mangustaceramics.com/продукти/
Example of the problem: http://i.imgur.com/KcGSK10.jpg
If you have any suggestions about the problem, I will be glad to hear them! Thank you!

These are technically different links. You can see this by copying the URL from the address bar and pasting them in a text editor.
The top right bar link gives this output:
https://www.mangustaceramics.com/%D0%BF%D1%80%D0%BE%D0%B4%D1%83%D0%BA%D1%82%D0%B8/
Whereas the main menu one gives this:
https://www.mangustaceramics.com/%d0%bf%d1%80%d0%be%d0%b4%d1%83%d0%ba%d1%82%d0%b8/
You will need to ensure that your URLs are encoded correctly or specify them explicitly using the second link above (with lowercase letters).

Related

Wordpress Permalink Issue Remove Auto Added Code

I have a Website of Wordpress In My Website When I click on any URL After complete Loading Content Page Some Codes Automatically Add on Permalink
For Example
http://example.com/wow-amazing/ Correct Link This Link Is Fine
After Complete Page Loading
http://example.com/wow-amazing/#.WfB5iI-Czcs
How Can I Remove #.WfB5iI-Czcs this Automatically Added Code From Permalink
Thanks In Advance
That part with # is generated at front side, so it actually doesn't affect you permalink. So there is no problem if you see that.
And actually it doesn't come from permalink, it is generated by some plugin's javascript. (for example AddThis generates such anchors, if you use AddThis, then the reason is AddThis)

Change tab title for Wordpress site?

I just completed a custom wordpress site for a client and am wondering how to change the tab title that you see at the top of the browser to display the name of the company instead of the whole url ... so in my example I want it to say Kirby's Moving Company instead of kirbysmovingco.com/ and then behind the name of the company id like it to display the page such as Kirby's Moving Company - Home even though it won't be visible in the actual tab since the company name is so long. I'm including a screenshot that shows how I want the tab to link by using another site that I've built and then showing the Kirby's Moving link and how it looks.
Here is the screenshot:
Any help is appreciated, thanks so much!
Check this out:
Hello, try this: https://codex.wordpress.org/Appearance_Customize_Screen (just go to Appearance_Customize_Screen > Site identity and modify the site title
Source
Also you could also read this, It might help!

Wordpress: How to build a link with php-function call?

I want to add a logout link to my wordpress page.
Logout
The link is visible on the page but when i click it it redirects me to
https://www.mywebsite.de/%3C?php%20echo%20wp_logout_url(%27https://www.mywebsite.de/%27)%20?%3E
which of course result in a 404. Obviously the php code is not executed. What am i doing wrong? How can i build the link dynamically?
EDIT:
I want to place this link via wordpress dashboard to the navigation menu (Appearance -> Menus -> Costum Links). For a first try i just added the link to my front page (Pages -> All Pages -> Choose Front Page --> added link in editor to page content).
In booth cases the php code is not executed but added to the link which results of course in a broken link (404).
The control characters like "<" get substituded. The whitespaces too. Maybe it is a character encoding problem?
Logout
https://developer.wordpress.org/reference/functions/wp_logout_url/
The problem was that is not possible to execute php code in wordpress editor (which is a good thing due to security reasons).
So i found another way: I created a shortcode for generating my dynamic link/url. With the plugin 'Shortcodes in Menus' everything works just fine.

Wordpress - only the homepage can be found

My wordpress site works perfectly. My pages I create in Wordpress admin panel are displayed in widgets, so if you click on a nav menu item, a div appears and displays the content of it. Perfect. But as soon as I would like to write a new .php page and try to open it like writing "mywebsite dot com / confirmation.php" in the address bar, the bar displays "mywebsite com / confirmation.php" but there is the front page on the screen again. Even if I write anything else after mywebsite dot com/, it shows the index page, no matter what it is.. I tried to write "mywebsite dot com/sdjfhskhdfkshdfkjhsdf" and it still worked, displayed the home page again.
Any ideas?
Save your permalinks and make sure your htaccess is writable when you do so. Also can you get to your "/confirmation" page if you click view page from inside the page in dashboard? Also try changing the template that your new page is using.

adding a new article in joomla

I have 2 pages (say A and B)
If I add an article on page B I would like to display a short href item in page A that takes me to the just added article on page B. I am doing this using Zoomla (and php - well not yet php)
Thank you for any idea and guidance
You can just add it with manually with following steps..
just copy the url of the page B like index.php?xxxxxxx to the end so that after enable rewrite remain work..
and then paste the link on the page A article..

Categories