CosmicMeatZoo Posted March 28, 2020 Share Posted March 28, 2020 Does anyone know if it's possible to force a specific url onto a single page in squarespace without using a dev site, javascript, or hiring someone to do it? If so, what is this called so I can find more information? SQSP doesn't allow for the slug characters needed. Have a strange situation where a single web needs to match an old address exactly. Redirect doesn't work for this. I was told by Squarespace support that this was possible with CSS. The refused to give me any more information. Link to comment Share on other sites More sharing options...
dsonesuk Posted March 29, 2020 Share Posted March 29, 2020 (edited) I don't how css can do that as its presentational, the most it can do is show text using :before and :after a link address. There is a base tag which would have the http domain and default root folder, you then must have relative paths without domain and root folder. https://www.w3schools.com/tags/tag_base.asp Edited March 29, 2020 by dsonesuk 1 Link to comment Share on other sites More sharing options...
CosmicMeatZoo Posted March 29, 2020 Author Share Posted March 29, 2020 3 minutes ago, dsonesuk said: I don't how css can do that as its presentational, the most it can do is show text using :before and :after a link address. They had directed me to the custom CSS page and their forum (no one has responded) and gave me zero information beyond that. The plan this is on doesn't cover Javascript either. If you're aware of other ways this can be done on a platform, I'm open to suggestions. At this point I've talked to so many people I'm not sure this is possible without having the entire site redone elsewhere. Link to comment Share on other sites More sharing options...
dsonesuk Posted March 29, 2020 Share Posted March 29, 2020 I added info about base tag 1 Link to comment Share on other sites More sharing options...
dsonesuk Posted March 29, 2020 Share Posted March 29, 2020 The only option I can think of is mod_rewrite, you can make it create a url to you needs (within reason) but it will still go to original url in the background. Similar to a url with lots of query string http://example.com/index.php&page=dogs?type=greyhound Mod_rewrite can make the url address appear as http://example.com/dogs/greyhound If that's any help. 1 Link to comment Share on other sites More sharing options...
CosmicMeatZoo Posted March 29, 2020 Author Share Posted March 29, 2020 Ah yes, but the mod-rewrite would also be a form of redirect, am I correct? I spoke with a back-end developer who said this was possible within the GoDaddy files, however, if the software isn't recognizing the redirect it won't be able to parse the mod either. Link to comment Share on other sites More sharing options...
CosmicMeatZoo Posted March 29, 2020 Author Share Posted March 29, 2020 The software that's parsing the info from the link is written in LabVIEW, which I can neither see nor am I familiar enough with it to say what's occurring. I know the page address is hardcoded into the software request, it sees that the page has been moved with a redirect, but it can't gather any more info from the page beyond that. When the code is changed to request from the new address it has no problem parsing the info it needs. With the redirect it displays nadda but gives no error. Link to comment Share on other sites More sharing options...
dsonesuk Posted March 29, 2020 Share Posted March 29, 2020 No! the address you see in browser address is changed, it still goes to original address, but! if you are setting the original address to a redirect address then yes! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now