How to remove the ".php" extensions from Yola URLs (in yolasite.com)?

  • 1
  • Problem
  • Updated 5 years ago
  • Solved
Can Yola remove the extensions (in Yola's case, ".php") from URLs created by the sitebuilder (resulting in *.yolasite.com links with ".php"'s in them)? See "Extension-less URLs: the Best Practice that Time Forgot" for more background/details.
Photo of hydrostarr

hydrostarr

  • 5 Posts
  • 0 Reply Likes
  • annoyed

Posted 8 years ago

  • 1
Photo of Justine

Justine

  • 751 Posts
  • 45 Reply Likes
Hi Matt,

I am sorry you are annoyed about the .php extension in your Yola URL. The reason for it, is because the Sitebuilder's underlying language is PHP, and that can't be changed. Extensionless URLs are best used if you are building your own website, and are planning to change the language - say, from .php to .jsp. Unfortunately, this is not possible in Sitebuilder as yet.

I have mentioned your idea to our development team and they have taken note of it. They have assured me, though, that the .php extension does not affect SEO in any way. The only thing that does affect SEO is if you change your website's extension after it has been indexed by Google - Yola will never do that.

I hope that answers your question!

- Justine
Photo of hydrostarr

hydrostarr

  • 5 Posts
  • 0 Reply Likes
Justine-

Thanks for your timely reply. Alas, I beg to differ. URL-extension removals are very easily done with an Apache config change (check out the Multiview(s?) directive, for starters, as well as the concept of "content negotiation" in Apache), and often with very little if any code changes (eg, I've personally implemented multiple web servers with .php-based apps and/or custome php code for which I was able to eliminate all .php extensions in the URLs--these apps includd phpBB and Mediawiki). In general, the fact that Yola may be implemented in PHP should have NOTHING to do with ".php" showing up in the URL extensions. If your developers think that's the case, they are unfortunately mistaken. fwiw, I had several "experienced" Apache admins (on apachefreaks.com, I think) tell me about 7 years ago this couldn't be done, either...and a few Multiview-config tweaks later, I had eliminated all extensions from all my websites. This experience has taught me, for better or worse, to "push back" on these responses.

Also, It's far more than just a language-implementation issue--URLs with extensions in them are simply unprofessional and just plain ugly. This article details some of this:
http://www.codingthewheel.com/archive...

In general, the myth that PHP apps need ".php" in the URL names is just that--a myth. If Yola truly needs .php extensions in their URLs, this is something specific to and "synthetic" in Yola. (If your development team is unnecessarily hard-coding ".php" in all their stuff...well....... )

Please revisit this with your team, quoting very specifically my notes here as well as the articles referenced here. And thanks in advance. If Yola can not resolve this asap, my time and my clients'/customers' time with Yola will be short-lived. I consider it Yola's job to present professional websites, and this case, Yola is unfortunately falling short. It's too bad, because Yola seems to have so many other good things going for it.

Regards,
-Matt

PS: fwiw, I care little if any about SEO.

PPS: how to remove extensions in URLs:
http://www.w3.org/Provider/Style/URI#...
Photo of Monique

Monique, VP of Customer Support

  • 6294 Posts
  • 446 Reply Likes
Hi Matt

Thanks again. Justine and I are not developers, although we do take an interest in these discussions. However, to be honest we are a little out of our depth on this one, but thanks for educating us.

We have passed on your request along with your notes to our developers. Since the option to hide the URL extension is not available at present they would need to decide if/when to prioritize it along with the rest of the requests on their plate. I don't have any definite feedback on whether this will be implemented, but I did want to let you know that your request has been passed on.
Photo of Paul Cheetham

Paul Cheetham

  • 6 Posts
  • 0 Reply Likes
Can I get an update on this please
Photo of hydrostarr

hydrostarr

  • 5 Posts
  • 0 Reply Likes
fyi. I no longer employ Yola platform, so have no need for this feature. Thx in any case for followup, and sorry for my 1yr-delayed reply.
Photo of Paul Cheetham

Paul Cheetham

  • 6 Posts
  • 0 Reply Likes
Which platform do you use now can I ask?
Photo of hydrostarr

hydrostarr

  • 5 Posts
  • 0 Reply Likes
I build my own servers "from scratch" (on Ubuntu Linux). Have the skills and team to do this... was hoping that Yola and others might simplify this but they don't provide near the feature set and configure-ability that's required for my stuff. Not a big surprise, 'cause my applications rather demanding.
Photo of Jenna Roze des Ordons

Jenna Roze des Ordons

  • 2 Posts
  • 0 Reply Likes
Hi there, are you planning on removing the php extension or allowing users to disable it, if they choose? I am unhappy that I'm paying for a website that I cannot alter this.
Photo of silverbling.ie

silverbling.ie

  • 10 Posts
  • 1 Reply Like
Hi, does anyone know what rewrite rule to use to get the product description in the URL before .php?

This would sort out my problem, I have htaccess but can't get at the php files to change them.

Did anyone come up with a solution? I can live with the ugly id URL's but my customers need text as they open several windows at the same time to compare products plus I have 301 redirects to do from my old site that need to go to product pages
Photo of Stefan

Stefan, Official Rep

  • 4448 Posts
  • 190 Reply Likes
Hello Silverbling

I'm presuming you're using Yola Online Store (can't locate your Yola account using your forum e-mail address). Yola Online Store is a product powered by our partner ecwid. I thought that one of their rep's post on their Support Forum could be helpful for you: About the format of ecwid product URLs.

The parent post of this response is How can I change the URL of product pages.

I see that you've also contacted us via e-mail. We will follow up with you on this question there as well.
Photo of silverbling.ie

silverbling.ie

  • 10 Posts
  • 1 Reply Like
Hi, I have read all of the threads and documentation but they are not solving my issue, as per this thread http://kb.ecwid.com/w/page/62638683/G...

I have uploaded the ecwid_ajax_indexing.php' .file to my database.

Can you tell mw which files the below are in as I have checked all of them and index.php is locked

2. In the PHP file, which is responsible for displaying your store page, add the following code in the head section (between the and tags) before title and description tags:

In the code above:
replace YOUR_ACTUAL_STORE_ID with your store ID (how to find it)
replace %PATH% with the real path to the uploaded 'ecwid_ajax_indexing.php' file

3. Find the Ecwid product browser integration code in your store page file and add the following code after the Ecwid integration codes:
as the product description and not the category or could you build in html snapshots

https://developers.google.com/webmast...

I am very impressed with yola but with a store my size I need product descriptions in the URL for my customers and for google.

I should have 700+ pages in my XML sitemap instead I have 27 category .php.

I have hundreds of 301 redirects to do from the old sites that need to go to individual pages but are all going to the category.php resulting in the worse case of dulpicate content ever.

I moved to yola from magento to avoid the duplicate content issues

Please help me sort this problem out so that I can move my other site as I really want to stay with yola
Photo of silverbling.ie

silverbling.ie

  • 10 Posts
  • 1 Reply Like
it will not let me use brackets around title, I need a php call to use the product description not the category description or the html snapshot
Photo of Gop

Gop

  • 7473 Posts
  • 2115 Reply Likes
Hello silverbling,

Currently there isn't a way to do this with the Yola implementation of the Online Store. As you mentioned it requires a php call which is disallowed with Yola. There is also a server side addition for Yola to make and it's unclear if this has been implemented as yet.

You've done the best you can with the addition of page categories but that's as far as the SE robots can go at this time. It's a definite limitation for Yola Stores that have high numbers of products.

I've been assured that this is a high priority with no implementation date announced as yet and the solution will be/is a collaborative effort between Yola and Ecwid

The content duplication is probably not an issue because the robots can't see the product content anyhow.
Photo of Stefan

Stefan, Official Rep

  • 4448 Posts
  • 190 Reply Likes
Hello silverbling

We've also responded to you on this matter via e-mail. I trust that our or Gop's suggestion will be helpful for you. Thank you for your praise on Yola! We hope that we will be able to meet your expectations on Yola Online Store with regard to your request in future.
Photo of silverbling.ie

silverbling.ie

  • 10 Posts
  • 1 Reply Like
Hi

Sorry but I can't see Gop's suggestion. Could you please resend it.

If I can't get the product descriptions in my titles I am going to have no option but to leave yola, I have tried various ways around it and no joy.

I do not mind changing the URL's manually if you could tell me how to add the description before .php
Photo of a1web UK

a1web UK

  • 174 Posts
  • 24 Reply Likes
Hi.. Over three years ago this question was asked about removing the PHP at the end of url's.

I think its overdue for a solution.
I would likke to see no PHP on the end o my pages url's

Please can we have this sorted .. cheers