A list of puns related to "Clean URL"
Hi
I am a novice at WP.
I recently changed my site URL structure, for example from...
- 'www.mysite.com/widget'
to...
- 'www.mysite.com/products/widget'
I did this within the settings in WP thinking it would be a 'clean' change.
However, all the old URLs are still around and consequently, whenever I do an SEO tool check on my site (various) they generally throw up the fact that I have broken links or pages.
How do I delete these dead pages please? Is there anything I need to be careful of?
Thank you.
This is easier to explain with an example:
let's say I'm on this website https://www.esquire.com/style/mens-fashion/advice/g3307/best-shorts-spring-summer/ And I click "shop now" on this pair of shorts
That link is a redirect. You can see the url in this screenshot: https://imgur.com/fOx7sJP (I won't link directly to it, bc I'm not sure if that's against the rules)
Out of all of that, I'm only interested in this part: > https%3A%2F%2Fwww.uniqlo.com%2Fus%2Fen%2Fmen-dry-stretch-easy-shorts-434980.html
It's great that uBO prevents the redirects from loading. However, it would be even better if it just sends me to the 'actual' link, and ignores all the redirects & referrals in that url. Is there a way to do this? Be it with uBO or a different add-on.
I do have the ClearURLs add-on installed, but that does not fix it.
uBO version 1.35.2 & Firefox version 89.0 (64-bit)
My url/s returns:
www.mywebsite.com/#homewww.mywebsite.com/#coursewww.mywebsite.com/#featureswww.mywebsite.com/#resourceswww.mywebsite.com/#clients
I want to remove the '#', can this be done through .htaccess?
Short background: I have to include # in my href because the website is just one page. Basically just allows me to scroll through different levels of the website.
Edit: I did this instead, and seems to work so?
<script type="text/javascript">
function myscroll(myID){
var offset = jQuery("#"+myID).offset()
window.scrollTo(0,offset.top);
}
</script>
https://preview.redd.it/bt9erqfsacn61.png?width=868&format=png&auto=webp&s=2881b415529742c9bb095f9875a546aab7eae642
I have been wondering if such a thing existed here for a while, so I thought that I would post it now.
Hi there,
I am running a php application using Nginx. And this is my url: http://localhost/API/print.php So I applied some solution from stackoverflow and now I am able to access the page using http://localhost/API/print . The solution is:
location /API {
alias API/index.php;
try_files $uri $uri/API/*.php?$query_string @extensionless-php;
}
location @extensionless-php {
rewrite ^(.*)$ $1.php last;
}
But I am getting: - No input file specified message in this URL http://localhost/API/print/1. Expected response was "Test" (which was written in print.php)
https://i.redd.it/as68qna5g2751.png
The slashes are encoded, pasting the URL to the Firefox address bar opens the search engine.
Hi there. I've just changed computers. I used to have duckduckgo as my homepage and it was lovely and clean without all the duckduckgo privacy messaging and all that. Unfortunately, I can't remember the duckduckgo homepage url that is the one without all the privacy messaging etc (ie just the logo and search field). It was duckduckgo.com slash something! Does anyone out there know the url, please? I'd be very grateful. Thanks! G
Hi everyone,
I have a a model coffee_shops
which has_many
"review_photos
".
I want to display the review_photo
with a gradient, using the following CSS:
background: linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.8)), url('www.mydynamicurl.com') center / cover;
Now, I can't send the image URL to the CSS as far as I'm aware. So I assume I have to do this in HTML. I have done this like so:
<section class="hero is-medium is-bold" style="background: linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.8)), url('http://my-url-prefix/<%= @coffee_shop.review_photos.first[:photo] %>') center / cover;">
This works visually, but there's 2 problems.
What's the best way of doing this, (bearing in mind that the image has to be assigned in CSS and can't be a HTML <img> element.
Thanks.
***UPDATE***
Thanks for all your suggestions, I'm now using the Draper gem for this and it's working, but I'm having a further issue with abstracting some of my html functionality into a decorator, which I have detailed in this comment. Any help on this would be much appreciated.
Hi there,
I was following this tutorial on building a blog with Strapi + Apollo for the backend and NextJS in the frontend.
What I can't seem to understand is: is it possible to have clean URLs using NextJS routing or do I need to install some helper (like Express)?
I can add a as
prop to the following code so to prettify the URLs, but that would of course only work for the client side:
<Link href={{ pathname: "article", query: { id: article.id } }}>
How do I manage it for the server side?
I love adding google map URL's to location todos and just discovered when you paste any URL into a todo and at the end ad a space and then anything in brackets the URL changes into that name as the link eg:
This will then make the link "Melbourne CBD" instead of the long dirty URL
I would love if there was a way to clean the web address to just the www.example.com/
For instance, just googling the issue the address bar is:
In Safari, for example, the address bar gets shortened down to only the domain. It looks a lot cleaner. Is there a way in the about:config to do this?
As per https://privacyguides.org/blog/2021/12/01/firefox-privacy-2021-update/ URL cleaners have been removed from the recommendations because Ublock origin supports URL cleaning now.
However, how does this provide protection for external URLs? Such as if I open a link from an email, it will have a lot of tracking parameters in URL submitted to the browser for processing.
I figure an dedicated extension can clean the URL before making the connection from an external application and uBo only does it from links clicked in the browser. Is this correct? Or can uBo provide URL cleaning for external links and links pasted into the URL bar?
I find it really annoying when I want to share something from a Google result and end up with a 250 character long URL. There are ways to bypass this after opening the result URL, but that won't work if it's a direct link to a file (a pdf in my latest case).
And so I figured it should be possibly to have Tasker do this for me. This works by having a profile that triggers when the clipboard is set, the clipboard content starts with "https://google" and the clipboard content contains "url=". I initially did the content check inside the triggered task, but figured that it works if used as a state as well. Probably doesn't make much of a difference but I found it cleaner this way.
The triggered task runs a couple of Java functions (specifically Uri.parse()
and Uri.getQueryParameter()
) to isolate the url parameter from the full URL. If successful, the clipboard will be set to the resulting string.
Hope this can prove useful to others as well! Without further ado:
Is there any extension that would allows automatic removal of certain GET parameters from URLs?
Note: This is not malicious, this is for a school project where I am trying to index user involvement in various internal facebook groups.
Here is an example dataset.
Name | Url |
---|---|
Steve | Bar |
Mike | https://www.facebook.com/mike_s?fref=gm&dti=100212512&hc_location=group |
Ted | https://www.facebook.com/Ted_q?fref=gm&dti=100212512&hc_location=group |
June | https://www.facebook.com/mike_s?fref=gm&dti=100212512&hc_location=group |
July | https://www.facebook.com/profile.php?id=123456789&fref=gm&dti=100212512&hc_location=group |
Ben | https://www.facebook.com/profile.php?id=987256712412&fref=gm&dti=270225112&hc_location=group |
I want to then add more data and remove any duplicates where the URL is my unique(ish) key, however that future data can result in issues where the query strings can vary.
Say I want to merge this user: Ben | https://www.facebook.com/profile.php?id=987256712412&fref=gm&dti=123455675348&hc_location=group
He is the same Ben as before, however he has a different group ID. My initial solution was to simply remove all query parameters from the URL which works for users like Mike, Ted, and June, however users like July and Ben will all have the same URL. (https://www.facebook.com/profile.php) This is because they need the query string "id".
How would I selectively remove all query parameters besides the one for id? I believe that will give me a unique ID to work with. Any other suggestions are welcome.
What I have tried.
=Index(SPLIT(D3,"?"), 0, 0)
resulted in getting the URL without query strings.
I then use
=IF(ISERROR(VLOOKUP(D3, 'Full Sheet'!D:D, 1, FALSE)),"Doesn't exist","Exists" )
to look for any matches and remove any values that already exist.
UPDATE Here is a working solution. Trying to optimize and one-line the solution though. Any help is appreciated. https://www.reddit.com/r/excel/comments/7vgw9c/i_have_a_list_of_facebook_urls_that_i_need_to/dts8eou/
im currently using these 3 addons what is the best or a different option
https://addons.mozilla.org/en-US/firefox/addon/clearurls/
https://gitlab.com/KevinRoebert/ClearUrls
https://addons.mozilla.org/en-US/firefox/addon/clean-links-webext/
https://github.com/Cimbali/CleanLinks/
I would love if there was a way to clean the web address to just the www.example.com/
For instance, just googling the issue the address bar is:
In Safari, for example, the address bar gets shortened down to only the domain. It looks a lot cleaner. Is there a way in the about:config to do this?
Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.