I am trying to add a clients linkedin account. The working path is:
https://www.linkedin.com/pub/'username'
the path jetpack is trying to send me to is.
https://www.linkedin.com/in/'username'
Any suggestions?
Thanks.
I ended up using jQuery to replace the href attribute on the broken linkedin tag. Works now.
just add .. in the url
ie https://www.linkedin.com/in/../pub/username
the .. will take the user up a diectory to get back to the root url, then append /pub/'username', thus the url entered as:
https://www.linkedin.com/in/../pub/username
will be translated into:
https://www.linkedin.com/pub/username
Related
I use wordpress template and everything was working ok till when i try to add a photo for each product but it's not working when i inspect the image the url is wrong..how to change it?
the shown url : https://localhost:81/soraya/81/soraya/wp-content/uploads/2017/07/product-19-268x290.jpg
instead of : https://localhost:81/soraya/wp-content/uploads/2017/07/product-19-268x290.jpg
Thank You!
I have enabled clean URLS and it is working fine.
How ever I have a Panel page with link. the link goes somethinglike this.
<a href="?q=PageName">
Now, Lets say I am on that Panel page(i would think the same thing would happen on any other custom content pages) and let's call it PanelPage and I press the link, The URL end up being, PanelPage?q=PageName (The whole URL = localhost/SiteName/PanelPage?q=PageName).
My Question is, Is there a way to write that link, so that It coume out as Clean URL? SiteName/PageName ?
Please help.
Thanks
Use l($text, $path, array $options = array()) to generate links.
In drupal 7, after logged in as admin go to following path "Configuration » Search and metadata » URL aliases".
There you can set 'Alias Path' for 'Existing Path'. Add an Alias path for your panel page.
For EX:
Existing system path : http://www.example.com/PanelPage?q=PageName
Path alias : http://www.example.com/custom_name.html
I'm just starting to use C5 as a CMS, and I'm having issues with sorting out the page addresses.
If I add a page to the site, it will be visible at:
www.example.com/index.php/page
However, I find the url extremely messy, and would ideally like it to be
www.example.com/page
I'm not familiar with C5, would anyone be able to give me any pointers to change this?
Okay, After reading documentation, this can be done by enabling "Pretty URLs"
This can be achieved by:
Dashboard -> System and Settings -> SEO and Statistics -> Pretty URLs
You then get a dialogue which has a tickbox, select it and click SAVE.
C5 should be able to rewrite the .htaccess file.
If it is unable to do so, it will give you an error, and you can copy and paste the text generated in the next screen, to add to the file manually.
I see that you enabled pretty URLs on the dashboard:
http://www.yoursite.com/index.php/dashboard/system/seo/urls/
Nice work, one last step—add the following to site.php in your root/config/:
define('URL_REWRITING_ALL', true);
That'll make every URL, such as a link to a dashboard page, pretty:
http://www.yoursite.com/dashboard/system/seo/urls/
Whilst this will add friendly URL's it will not add create canonical urls, if the same page appears with various urls they will create duplicated content links.
To add a canonical link you can add the following to your header.
//Set the base url for the home page
$canonical = BASE_URL.DIR_REL;
if ($c->getCollectionId() != 1){
//Get the current URL for the page
$canonical=$nh->getCollectionURL($c);
}
//Output a canonical meta tag
printf('<link rel="canonical" href="%s" />', $canonical);echo "\n";
you can go to dashboard > Bulk SEO Updater > and change the URL here
in my website http://youmark.it/ I have in the home page post and in all other single post pages the same number of like, also the send button once you click is showing the Facebook Page url and not the Post url.
I have integrated all stuff for open graph, if you look at the source code it seems to be ok but still doesn't work after few changes I did. Also in the Facebook Debug tool everything shows correct.
Does Facebook need time to get updated or am I doing something wrong?
You have all your like buttons “pointing” to the base URL of your website.
If you want them to like the individual article, then include the URL to that article in the href parameter of the <fb:like> tag.
Try to like this url: <?php the_permalink() ?> instead?
<iframe src="//www.facebook.com/plugins/like.php?href=<?php the_permalink() ?>&send=...
???
how to change the link in the wordpress email with newpassword?
this information we get when we click on forgot password.
username : admin
password : admin
http://www.example.com/wp-login.php
here i want to change this url "http://www.example.com/wp-login.php" and set my own url... how can i do?
some reference code:
if ( !function_exists('is_user_logged_in') ) :function is_user_logged_in() {
$user = wp_get_current_user();
You can hook into the retrieve_password_message filter
function someFunction($message, $key){
}
add_filter('retrieve_password_message', 'someFunction');
You would then have to use the "someFunction" function to parse the $message variable and change the link.
The message variable contains the entire message. So you could simply trim the message based on the number of characters then tack on your new link...
HTH
(Untested)
Using hooks would be my first thought so that you wouldn't have to edit any core files, however I have used the SB Welcome Email Editor plugin a couple times for this exact reason. Their are a couple plugins like this out their and they are fairly light weight and allow full customization of all Wordpress generated emails.
Try using a plugin such as Theme My Login, which does everything for you.
Editing core wordpress files is never a good idea, when updating wordpress, you'll loose all your work.
You can simply follow steps if you want to edit your code file.
Go to your wordpress folder. Look for the following files:
1. /wp-login.php
2. /includes/functions.php
Change the all the codes which contains wp-login.php into your custom URL.
for example: admin.php or client-login.php
Now you can changed your login/signup URL into your custom URL.
Known issue: You can find some database error if you make any mistakes. Just refresh the page and try with the customized Url it will work...
Example site I used here : http://androideveloper.com/admin.php from http://androideveloper.com/wp-login.php
Cheers.